

export const detailConfig: any = {
	label: '运营记录详情',
	inline: false,
	showBtn: false,
	labelPosition: 'left',
	labelWidth: '200px',
	column: [
		//-------------------- 运营记录 ----------------
		{
			label: '“五类老人”入住养老机构补助核准表',
			prop: 'table',
			type: 'uplaod',
			labelPosition: 'top',
			showFileList: false,
			limit: 4,
			multiple: true,
			span: 24,
		},
	],
}
const tableConfig = {
	stripe: true,
	border: true,
	maxHeight: '80vh',
	columns: [
		{ label: '近期一寸免冠照片', prop: 'oldmanPhoto',custome:'img'},
		{ label: '申请人姓名', prop: 'oldmanName' },
		{ 
			label: '性别',
			prop: 'gender',
			propName:'genderLabel',
			code:'GENDER',
			api:'getDictItemList',
			type:'remoteSelect'
		},
		{ 
			label: '民族',
			 prop: 'nation',
			 propName:'nationLabel',
			 code:'NATIONALITY',
			 api:'getDictItemList',
			 type:'remoteSelect'
		},
		{ label: '身份证号', prop: 'idCard' },
		{ label: '户口所在地', prop: 'crAddress' },
		{ label: '联系电话', prop: 'oldmanPhone' },
		{ label: '现家庭住址', prop: 'address' },
		{ label: '所在区', prop: 'nowAreaName' },
		{ label: '街道（乡镇）', prop: 'nowStreetName' },
		// {
		// 	prop: 'menu',
		// 	width: 120,
		// 	fixed: 'right',
		// },
	],
}
export const formConfig = {
	label: '数据管理设置',
	prop: 'base0',
	inline: false,
	showBtn: true,
	labelPosition: 'left',
	column: detailConfig.column,
}
export const baseConfig: any = {
	pageName: '五类老人入住养老机构补贴花名册',
	addLabel: '添加',
	dictcodes: ['GENDER','NATIONALITY','MATERIAL_TRUTH_TYPE','ABILITY_STATUS','DEMUR_STATUS','DEMUR_STATUS','RESULT','ABILITY_LEVEL_CITY_STANDARD'],
	rowKey: 'id',
	tipLabel: 'batch',
	api: {
		index: 'dpOrgFiveSubsidyRoster_page',
		// edit: 'view_dpOperateRecord_edit',
		// delete: 'view_dpOperateRecord_del',
	},
	auth: {
		index: 'view_dpOrgFiveSubsidyRoster_page',
		// edit: 'view_dpOperateRecord_edit',
		// delete: 'view_dpOperateRecord_del',
	},
	menuBtn: [
		// {
		// 	icon: 'editor',
		// 	label: '查看详情',
		// 	type: 'primary',
		// 	operate: 'detail',
		// 	auth: '',
		// 	text: true,
		// 	show: true,
		// },
	],
	dialogConfig: {
		width: '65%',
	},
	tableConfig,
	formConfig,
	detailConfig,
}
